﻿using System;
using System.Xml.Serialization;
using Cirrious.MvvmCross.Plugins.Sqlite;
using TeaLightV5.Foundation.Sal.Interfaces;

namespace TeaLightV5.Foundation.BL
{
    public abstract class Entity<TKey> : IEntity<TKey>
         
    {
        protected Entity()
        {
            //Id = Guid.NewGuid().ToString("N");
        }

        [XmlIgnore]
        [PrimaryKey]
        [MaxLengthAttribute(32)]
        public TKey Id { get; set; }
    }
}
